import React from 'react'
import { Button, Form } from 'antd-mobile'
import { AuthRoute } from '../web/auth';
import send from '../apis/send';
import { getToken } from '../tokens/const';

export const KwaiPage: React.FC<{}> = ({ }) => {
    // 快手自动刷说说
    const kwaiAutoSendShuoShuo = () => {
        
    }
    // 快手自动签到
    const kwaiAutoSignIn = () => {

    }
    // 快手自动刷视频
    const kwaiAutoScanVideo = () => {

    }
    // 快手自动刷直播
    const kwaiAutoScanLive = () => {

    }
    // 快手自动抢红包
    const kwaiAutoTakeRedPacket = () => {

    }
    const kwaiOpenApp = () => {
        send({
            token: getToken(),
            name: `OPEN_KWAI_APP`
        })
    }
    return <AuthRoute>
        <div className='flex flex-col h-full'>
            <Button onClick={kwaiOpenApp}>打开快手</Button>
            <Button onClick={kwaiAutoSendShuoShuo}>发送说说</Button>
            <Button onClick={kwaiAutoSignIn}>自动签到</Button>
            <Button onClick={kwaiAutoScanVideo}>自动刷视频</Button>
            <Button onClick={kwaiAutoScanLive}>自动刷直播</Button>
            <Button onClick={kwaiAutoTakeRedPacket}>自动抢红包</Button>
        </div>
    </AuthRoute>
}
